package service.impl;

import models.SecurityRole;
import processor.SecurityRoleProcessor;
import service.SecurityRoleService;

public class SecurityRoleServiceImpl implements SecurityRoleService {

	private SecurityRole dbsecurityRole;
	public SecurityRoleServiceImpl(){
		this.dbsecurityRole=new SecurityRole();
	}
	public SecurityRoleServiceImpl(SecurityRole securityRole){
		this.dbsecurityRole=securityRole;
	}
	@Override
	public SecurityRoleProcessor getProcessor() {
		// TODO Auto-generated method stub
		return new SecurityRoleProcessor(this.dbsecurityRole);
	}

}
